package com.exmaple.dynamicapp.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p>
 * 事件类型，标注于注解之上，说明是什么类型的监听
 * </p>
 *
 * @author 孟祥超
 * <p>
 * date: 2021/8/11
 */
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface EventType {
    String eventMethod();

    Class eventType();
}
